package com.yc.book.test;

import com.yc.book.util.DBUtil;

import java.util.List;
import java.util.Map;

public class test {
    public static void main(String[] args) {
        DBUtil db = new DBUtil();
        String sql = "select * from books";
        List<Map<String,Object>> list = db.listObject(sql);
        list.forEach(System.out::println);
    }
}
